package cn.gov.msa.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gov.msa.model.Rule;

public interface RuleMapper {
	
	
	public List<Rule> selectData(Rule rule);
	
	public int insertRule(Rule rule);
	
	public int deleteRule(String ruleIds);
	
	public int updateRule(Rule rule);
	
	public int selectDistinct(@Param("orgcode")String orgcode,@Param("itemid")String itemid,@Param("ruleid")String ruleid);
	
	public List<Rule> selectDict(String orgcode);

}
